package com.grape.service.take_delivery;

import javax.ws.rs.Consumes;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import com.grape.domain.take_delivery.Order;

@Produces({"application/xml" ,"application/json"})
public interface OrderService {
	@PUT	// 增加
	@Path("/save")
	@Consumes({ "application/xml", "application/json" })
	void save (Order model);

	Order findByOrderNum(String orderNum);

	
	
}
